package com.example.day01_weather.mvp.view;

import android.telecom.Call;

import com.example.day01_weather.bean.CityBean;
import com.example.day01_weather.bean.WeatherBean;

import java.util.Map;

import javax.security.auth.callback.Callback;


public interface IWeather {
    interface IView extends BaseView{
        void getCitySuccess(CityBean cityBean);
        void getWeatherSuccess(WeatherBean weatherBean);
    }

    interface IPresenter{
        void getCityData();

        void getWeatherData(Map<String,String> map);
    }

    interface  IModel{
        void getCityData(ICallBack callback);
        void getWeatherData(Map<String,String> map, ICallBack callback);
    }
}
